package com.magicsoft.share.adapter.exchange;

import android.support.annotation.LayoutRes;
import android.util.Log;
import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.magicsoft.share.R;

/**
 * Created by lyf on 2017/11/9/009.
 */

public class GoodsDetailAdapter extends BaseQuickAdapter<String,BaseViewHolder> {
    public GoodsDetailAdapter(@LayoutRes int layoutResId) {
        super(layoutResId);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {

        ImageView imageView = helper.getView(R.id.imageView1);
        Glide.with(mContext).load(item).into(imageView);
        Log.e("imgurl",item);
    }
}
